<template>
  <div id="app" class="app">
    <d-header></d-header>
    <d-loading></d-loading>
    <!-- <keep-alive>-->
      <router-view class="main-view"></router-view>
    <!--</keep-alive>-->
  </div>
</template>

<script>
  import dHeader from '../src/components/common/header.vue'
  import dLoading from '../src/components/common/loading.vue'
  export default {
    name: 'app',
    components:{
      dHeader,
      dLoading
    },
    watch:{
    }
  }
</script>

<style  rel="stylesheet/scss" type="text/css" lang="scss">
  @import "assets/css/variable";
  @import "assets/css/base";
  .app {
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: $bodyBgColor;
    .main-view{
      max-width: $maxContentWidth;
      min-width: 1200px;
      width: 100%;
      height: calc( 100% - 146px);
      margin: 14px auto;
      >.title{
        /*font-family: PingFangTC-Light;*/
        font-size: 16px;
        color: #325570;
        height: 50px;
        line-height:50px;
        font-weight: lighter;
      }
      >.content{
        width: 100%;
        min-height: calc( 100% - 140px);
        padding: 20px 20px 60px 20px;
        margin-bottom: 20px;
        background: #FFFFFF;
        box-shadow: 0 2px 8px 0 rgba(184,198,239,0.80);
        border-radius: 4px;
      }
    }
  }
</style>
